unit App.Action.TAppDefaultRefreshAction;

interface

uses SmallStruct.Action,
  App.Action.TAppCustomeAction;

type
  TAppDefaultRefreshAction = class(TAppCustomeAction)
  protected
    function DoPerform(ActionContext: ISSActionContext): Boolean; override;
  end;

implementation

uses SmallStruct.Configuration,
  SmallStruct.View;

{ TAppDefaultRefreshAction }

function TAppDefaultRefreshAction.DoPerform(ActionContext: ISSActionContext): Boolean;
begin
  Result := False;

  GetRequestViewPrimaryDataModel.GetDataSet.GetDataSet.Refresh;
  Result := True;
end;

end.
